package smarthouse.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * The persistent class for the room database table.
 * 
 */

public class RoomDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	private int roomId;

	private int light;

	private int size;

	private int temperature;

	private String type;

	// uni-directional many-to-one association to House
	private List<Integer> electronics = new ArrayList<>();

	private int house;

	/**
	 * Default constructor
	 */
	public RoomDTO() {
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public int getHouse() {
		return house;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setHouse(int house) {
		this.house = house;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public List<Integer> getElectronics() {
		return electronics;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setElectronics(List<Integer> electronics) {
		this.electronics = electronics;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public int getRoomId() {
		return this.roomId;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setRoomId(int roomId) {
		this.roomId = roomId;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public int getLight() {
		return this.light;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setLight(int light) {
		this.light = light;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public int getSize() {
		return this.size;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setSize(int size) {
		this.size = size;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public int getTemperature() {
		return this.temperature;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setTemperature(int temperature) {
		this.temperature = temperature;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public String getType() {
		return this.type;
	}

	/**
	 * Getter/Setter
	 * 
	 * @return
	 */
	public void setType(String type) {
		this.type = type;
	}

}